package com.craterhill.java.ccp.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.craterhill.java.ccp.common.beans.StudyType;
import com.craterhill.java.ccp.dao.StudyTypeDao;
import com.craterhill.java.ccp.service.StudyTypeService;

@Service
public class StudyTypeServiceImpl implements StudyTypeService{
	
	@Autowired
	private StudyTypeDao StudyTypeDao;

	public List<StudyType> getStudyTypes() {
		return StudyTypeDao.findAll();
	}

	@Override
	public StudyType getStudyType() {
		return null;
	}

}
